package org.chen.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value = "/")
public class HomeController {

	@RequestMapping(value = "", method = RequestMethod.GET)
	public String home() {
		return "index";
	}

	@RequestMapping(value = "main", method = RequestMethod.GET)
	public String show() {
		return "main";
	}

}
